import { ApiProperty } from '@nestjs/swagger';
import { Length } from 'class-validator';

export class EditAppUserInfoDto {
  @ApiProperty({ required: false })
  @Length(2, 255)
  name?: string;

  @ApiProperty({ required: false })
  avatar?: string;
}
